//
//  ColorTableViewCell.m
//  grainHouse
//
//  Created by 北风 on 14-10-22.
//  Copyright (c) 2014年 北风. All rights reserved.
//

#import "ColorTableViewCell.h"

@implementation ColorTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {

    _ColorView = [[UIImageView alloc] initWithFrame:CGRectMake(100, 10, 150, 30)];
        //_ColorView.backgroundColor = [UIColor redColor];
        [self.contentView addSubview:_ColorView];
        
        
    _colorLabel = [[UILabel alloc] initWithFrame:CGRectMake(3, 10, 70, 30)];
        [self.contentView addSubview:_colorLabel];
        
        
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
